﻿using HotelManager.Common;
using Prism.Ioc;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManager.ViewModels
{
    public class IndexViewModel: NavigationViewModel
    {
        private readonly IDialogHostService dialog;
        private readonly IRegionManager regionManager;
        public IndexViewModel(IDialogHostService dialog, IContainerProvider provider):base(provider)
        {
            regionManager = provider.Resolve<IRegionManager>();
            this.dialog = dialog;
        }
    }
}
